using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class player1 : MonoBehaviour
{
    private Rigidbody rb;

    // Start is called before the first frame update
    void Start()
    {
        print("Start");
        rb = GetComponent<Rigidbody>();
    }

    // Update is called once per frame
    void Update()
    {
       // Debug.Log("111");
        if (Input.GetMouseButtonDown(0))
        {
            rb.velocity = new Vector3(0f, 2f, 0f);
        }
    }
}
